<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
	<meta content="telephone=no" name="format-detection" /> 
	<title>api</title>
	<link rel="stylesheet" type="text/css" href="../css/api.css" />
	<link rel="stylesheet" type="text/css" href="../css/common.css" />
	<link rel="stylesheet" type="text/css" href="../css/main.css" />
	<link rel="stylesheet" type="text/css" href="../css/base.css" />
	<script src="https://unpkg.com/vue@2.0.5/dist/vue.js"></script>
</head>
<body id='app'>
<!-- 中奖信息广播 -->
			<script id="message-template" type="text/x-dot-template">
				{{ for(var i=0; i< it.length; i++) { }}

				<li onclick="openGoodsDetail({{=it[i].id}})">恭喜
					<span style='color: red'>{{=it[i].username}}</span>
					<span style='color: gray'>{{=it[i].putTime}}获得</span>
					{{=it[i].title}}
					</li>
				{{ } }}
			</script>

<div id='cart' style='margin-bottom: 32px;  background-color: #fff; display: none'>
		<div class="c-content" style='text-align: center;padding-top: 45%'>
			<div class="c-img">
				<img src="../image/networkerror.png" width="120px" height="120px"></div>
			<div style="margin: 10px 0px"><p class="gray">网络连接异常~</p></div>
			<div  style='margin-bottom: 32px;background-color: #fff'><div style="text-align: center; margin-top: 10px"><a onclick = "_openFrame(0)" href="javascript:;" style="    width: 110px;background: #FF0000;border: 1px solid #FF0000;  display: inline-block;color: #fff;height: 32px;line-height: 32px;text-align: center;font-size: 16px;border-radius: 4px;">重新加载</a></div></div>
		
	</div>
	</div>
	<section  style="display: none"  id="wrap">
	
		<div id="main">
			<section id="se-top">
					<div id='slide' class='swipe'>
				<div class='swipe-wrap' id="banner-content"></div>		
			</div>

			<div id="life" class="border-bottom-img">
				<ul>
					<li class="checkin">
						<a tapmode="active" onclick="openHeader('classify')">分类</a>
					</li>
					<li class="shop">
						<a tapmode="active" onclick = "classifyOpenWin('classifyWin','ten')">10元专区</a>
					</li>
					<li class="tel">
						<a tapmode="active" onclick="openHeader('shareList')">晒单</a>
					</li>
					<li class="express">
						<a tapmode="active" onclick="openUrl('http://m.jqmao.cn/?/mobile/mobile/about','新手指南')">新手指南</a>
					</li>
				</ul>
			</div>
			
			<div id='message'>
				<img src="../image/TB-60-60.png_q30.jpg.png" width="25px" height="25px" style="margin:7px 6px 0px 12px;" alt=""></img>
				
				
				<div class='ging'>
				
				<ul id='ging-ul' style="margin-top:0px;">
				
				</ul>
			</div>
			</div>
			</section>
		
			<!-- 中奖信息广播结束 -->

			<section id='goods'>

				<div id='g-nav' :class="fixed?'fixed':''">
					<ul id='g-ul'>
						<li class="hot active" data-name='hot'>人气</li>
						<li class='new' data-name='new'>最新</li>
						<li class='tempo' data-name='tempo'>进度</li>
						<li class='num' data-name='num'>人次</li>
					</ul>
				</div>
				<div id="activity" >
					<div style="margin-top: 1px;" class="m-index-mod-bd border-top-img">
						<ul id='act-content' class="w-goodsList w-goodsList-s m-index-popular-list ">
						
						</ul>
						<div id='more' style="text-align: center;height: 30px;line-height: 30px; color: #666">正在加载...</div>
					</div>

					<div id="act-content">
						
					</div>
				</div>
			</section>

			<script id="act-template" type="text/x-dot-template">
			{{ for(var i=0; i< it.length; i++) { }}
                  <li class="w-goodsList-item border-img" >
                  {{if(it[i].yunjiage==10){}}
                  <img src="../image/ten.png" class="ico ico-label ico-label-goods">
                  {{}}}
								<div class="w-goods w-goods-ing"  data-buyunit="1">
									<div onclick="openGoodsDetail({{=it[i].id}})" class="w-goods-pic">
										
										<a href="javascript:;">
											<img  src="http://wap.jqmao.cn/statics/uploads/{{=it[i].thumb}}" class="">
										</a>
									</div>
									<div style='text-align: -webkit-auto;text-align: auto;' onclick="openGoodsDetail({{=it[i].id}})" class="w-goods-info">
										<p class="w-goods-title f-txtabb">
											<a href="javascript:;">{{=it[i].title}}</a>
										</p>
										<div class="w-progressBar">
											<p class="txt">
												揭晓进度 <strong>{{=it[i].sengbi}}%</strong>
											</p>
											<p class="wrap">
												<span class="bar" style="width:{{=it[i].sengbi}}%;"> <i class="color"></i>
												</span>
											</p>
										</div>
									</div>
									<div class="w-goods-shortFunc" onclick="addCart({{=it[i].id}})">
										<div class="w-button w-button-round w-button-addToCart"></div>
									</div>
								</div>
							</li>
			{{ } }}
		</script>
	
	</div>
	</section>
</body>
	<script type="text/javascript" src="../script/zepto.min.js"></script>
	<script type="text/javascript" src="../script/zepto.scroll.js"></script>
	
	
	<script type="text/javascript" src="../script/api.js"></script>
	<script type="text/javascript" src="../script/doT.min.js"></script>
	<script type="text/javascript" src="../script/common.js"></script>
	<script type="text/javascript" src="../script/main.js?v=201610141500"></script>
	
</html>